rescue:\
	rescue/sim\

CLEAN+=\
	rescue/sim\

EVERYTHING+=rescue

RESCUEOBJ=\
	rescue/map.o\
	rescue/graph.o\
	rescue/rescue.o\
	rescue/sim.o\

include $(RESCUEOBJ:.o=.d)
CLEAN+=$(RESCUEOBJ)

rescue/sim:\
	$(RESCUEOBJ)\
	rescue/main.o\
	graphics/image.o\
	utils/utils.a\
	structs/structs.a\
	search/search.a
	@echo $@
	@$(CXX) $^ -static $(LDFLAGS) -o $@

include rescue/main.d

CLEAN += rescue/main.o
